@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300&display=swap');

*{
    margin: 0; padding:0;
    box-sizing: border-box;
    outline: none; border: none;
    text-decoration: none;
    text-transform: none;
    transition: all 0.2s linear;
    font-family: 'Fira Sans', sans-serif;
}
:root{
    --min-color: #fff;
    --sc-color: #3ec1d5;
    --th-color: #333;
    --gp-colour: #606060;
}
html{
    scroll-behavior: smooth;
    scroll-padding-top: 0.5rem;
    font-size: 66%;
}
.btn{
    display: inline-block;
    padding: 0.8rem 3.8rem;
    font-size: 1.8rem;
    border: 0.1rem solid var(--sc-color);
    outline: 0;
    background: var(--sc-color);
    border-radius: 1rem;
    cursor: pointer;
    text-align: center;
    color: var(--min-color);
}
.btn:hover{
    background: none;
    color: var(--sc-color);
}
.heading{
    font-size: 3.5rem;
    text-align: center;
    color:  #000000;
    margin-top: 1rem;

}
.heading div:hover{
    width: 25rem;
}
section{
    padding: 2rem 0%;
    background-color: #fff;
}
header{
    position:static;
    top: 0; right: 0; left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3%;
    background: rgb(0, 0, 0);
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center; /* Center vertically */
    text-decoration: none; /* Remove underline */
    color: #fff; /* Text color */
    font-size: 24px; /* Adjust font size as needed */
}

.logo-container img {
    margin-right: 10px; /* Space between image and text */
    width: auto; /* Maintain aspect ratio */
    height: 60px; /* Adjust the height as needed */
}
header .navbar a{
    margin: 0 0.8rem;
    font-size: 1.9rem;
    color: var(--min-color);
    padding: 0.4rem ;
}
header .navbar a:hover,
header .fa-bars:hover{
    color: #000000;
}
header .fa-bars{
    font-size: 2.8rem;
    color: var(--min-color);
    cursor: pointer;
    display: none;

}
.home .home-slid .box {
    position: relative;
    background-color: #010b3f;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.home .home-slid .box::before {
    content: "";
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.home .home-slid .box .content {
    background-color: #343434ac;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--min-color);
    text-align: center;
    width: 90%; /* Adjust width for smaller screens */
    max-width: 600px; /* Limit maximum width */
    padding-top: 5vw; /* Use relative units for padding */
    padding-bottom: 5vw; /* Use relative units for padding */
    padding-left: 13hw;
    padding-right: 13hw;
    box-sizing: border-box; /* Ensure padding is included in the width */
    overflow: auto; /* Add overflow auto for scrollable content */
    max-height: 90vh; /* Limit the maximum height */
}

.home .home-slid .box .content h3 {
    font-size: 3rem; /* Adjust font size */
    color: rgb(255, 255, 255);
    margin-bottom: 10px; /* Adjust margin */
}

.home .home-slid .box .content p {
    font-size: 1.8rem; /* Adjust font size */
    margin: 10px 0; /* Adjust margin */
    color: rgb(255, 255, 255);
    white-space: normal; /* Ensure normal wrapping of text */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .home .home-slid .box .content {
        padding: 4vw; /* Reduce padding */
    }

    .home .home-slid .box .content h3 {
        font-size: 2.5rem; /* Adjust font size */
    }

    .home .home-slid .box .content p {
        font-size: 1.5rem; /* Adjust font size */
    }
}

@media (max-width: 768px) {
    .home .home-slid .box .content {
        width: 95%; /* Full width on smaller screens */
        padding: 3vw; /* Further reduce padding */
    }

    .home .home-slid .box .content h3 {
        font-size: 2rem; /* Adjust font size */
    }

    .home .home-slid .box .content p {
        font-size: 1.2rem; /* Adjust font size */
    }
}

@media (max-width: 480px) {
    .home .home-slid .box .content {
        width: 100%; /* Full width on smaller screens */
        padding: 2vw; /* Further reduce padding */
    }

    .home .home-slid .box .content h3 {
        font-size: 1.8rem; /* Adjust font size */
    }

    .home .home-slid .box .content p {
        font-size: 1rem; /* Adjust font size */
    }
}


.footer {
    background: #222;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
    gap: 2rem;
    text-align: center;
    padding: 4rem;
}

.footer h3 {
    font-size: 3.5rem;
    margin: 2rem 0;
    color: var(--min-color);
}

.footer p {
    font-size: 1.6rem;
    margin: 1rem 0;
    color: var(--min-color);
}

.footer i {
    font-size: 2.6rem;
    margin: 1rem 0.5rem;
    color: var(--min-color);
}

.footer i:hover,
.footer a:hover {
    color: var(--sc-color);
}

.footer a {
    display: block;
    font-size: 2rem;
    margin: 0.5rem;
    color: var(--min-color);
}
.footer .iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Aspect ratio (height:width ratio) for 16:9 aspect ratio */
    overflow: hidden;
}

.footer  .iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .footer {
        grid-template-columns: repeat(auto-fit, minmax(40%, 1fr)); /* Adjust columns for tablets and small desktops */
        padding: 3rem;
    }

    .footer h3 {
        font-size: 3rem; /* Adjust font size */
    }

    .footer p {
        font-size: 1.4rem; /* Adjust font size */
    }

    .footer i {
        font-size: 2.4rem; /* Adjust font size */
    }

    .footer a {
        font-size: 1.8rem; /* Adjust font size */
    }
}

@media (max-width: 768px) {
    .footer {
        grid-template-columns: repeat(auto-fit, minmax(60%, 1fr)); /* Adjust columns for tablets */
        padding: 2rem;
    }

    .footer h3 {
        font-size: 2.5rem; /* Adjust font size */
    }

    .footer p {
        font-size: 1.2rem; /* Adjust font size */
    }

    .footer i {
        font-size: 2rem; /* Adjust font size */
    }

    .footer a {
        font-size: 1.5rem; /* Adjust font size */
    }
}

@media (max-width: 480px) {
    .footer {
        grid-template-columns: 1fr; /* Single column layout for mobile */
        padding: 1.5rem;
    }

    .footer h3 {
        font-size: 2rem; /* Adjust font size */
    }

    .footer p {
        font-size: 1rem; /* Adjust font size */
    }

    .footer i {
        font-size: 1.8rem; /* Adjust font size */
    }

    .footer a {
        font-size: 1.2rem; /* Adjust font size */
    }
}


  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background: #f2f2f2;
  }
  
  @keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  .logos {
    overflow: hidden;
    padding: 80px 0;
    background: white;
    white-space: nowrap;
    position: relative;
  }
  
  .logos:before,
  .logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
  }
  
  .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
  }
  
  .logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
  }
  
  .logos:hover .logos-slide {
    animation-play-state: r;
  }
  
  .logos-slide {
    display: inline-block;
    animation: 60s slide infinite linear;
  }
  
  .logos-slide img {
    height: 90px;
    margin: 0 40px;
  }

  .dealerships {
    text-align: center;
    padding: 20px;
    background-color: #fff;
}

.dealershipsavi {
    text-align: center;
    padding: 2rem 0%;
    background-color: #fff;
}

.dealership-row {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping of rows on smaller screens */
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

/* dearlship begins*/
.dealership {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo-container2 {
    width: 100%;
    max-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.logo-container2 img {
    margin-top: 25px;
    max-width: 100%;
    max-height: 100%;
    height: auto;
}

.content {
    margin-top: 25px;
    text-align: left;
}

.dealership h3 {
    margin: 10px 0;
    font-size: 24px;
}

.dealership p {
    margin-top: 25px;
    font-size: 16px;
    color: #555;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .dealership-row {
        flex-direction: column; /* Stack the columns vertically on smaller screens */
        align-items: center;
    }

    .dealership {
        max-width: 90%; /* Reduce max-width for smaller screens */
    }
}

@media (max-width: 480px) {
    .dealership {
        padding: 15px;
    }

    .dealership h3 {
        font-size: 20px;
    }

    .dealership p {
        font-size: 14px;
    }
}

/* dearlship end*/

/* Products Section */

.product-slider {
    padding: 2.5rem;
}
.product-slider h3 {
    color: var(--th-color);
    font-size: 3.5rem;
    margin-bottom: 20px;
    margin-left: 2rem;
}
.product-slider p {
    color: var(--th-color);
    text-align: left;
    font-size: 2rem;
    align-items: center;
    justify-content: center;
}
.swiper-container {
    width: 100%;
    height: auto;
}
.swiper-slide {
    text-align: center;
}
.product-slider a {
    display: block;
    text-align: center;
    color: #007bff;
    text-decoration: none;
}

/* Ensure the Container Fits within the Viewport */
.container, .swiper-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Swiper Specific Styles */
.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Allow Images to Retain Their Original Size */
.swiper-slide img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
.product-slider .column {
    float: left;
    width: 50%;
  }
 
.product-slider .row:after {
    content: "";
    display: table;
    clear: both;
    height: auto;
  }

.products .row{
    display: grid;
    grid-template-columns: 50% 50%;
    /*grid-template-columns: repeat(auto-fit,minmax(30%,1fr));*/
}
.products .row .box{
    text-align: center;
    color: var(--th-color);
    padding: 2rem;
    border-radius: 0.8rem;
    max-height: 100%;
}

.products .row .box:hover{
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.2);
    background: #eeeeee;
}

.products .row .box p{
    font-size: 2rem;
    align-items: center;
}
.products .row .box .swiper-container
{
    margin-left: 10rem;
}
/*
.products .row .box img{
   display: block;  
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
    max-width : 80%;
    max-height: 80%;
}
*/


/* Leadership Section */

.leadership {
    padding: 2.5rem;
}

.leadershipcontainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: auto;
    padding: 2.5rem;
}

.leadershipcontainer .image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.leadershipcontainer .image-section img {
    max-width: 250px; /* Set the maximum width */
    max-height: 250px; /* Set the maximum height */
    border-radius: 50%;
}

.leadershipcontainer .text-section {
    flex: 2;
    padding-left: 20px;
}

.leadershipcontainer .text-section h2 {
    color: var(--th-color);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.leadershipcontainer .text-section h3 {
    color: var(--th-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.leadershipcontainer .text-section p {
    font-size: 1.7rem;
    color: #555;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .leadershipcontainer {
        flex-direction: column; /* Stack columns vertically */
        width: 90%; /* Adjust width for smaller screens */
    }

    .leadershipcontainer .image-section {
        order: -1; /* Move image to the top */
    }

    .leadershipcontainer .text-section {
        padding-left: 0; /* Remove left padding */
        padding-top: 20px; /* Add top padding */
    }

    .leadershipcontainer .text-section h2 {
        font-size: 2.5rem; /* Adjust font size */
    }

    .leadershipcontainer .text-section h3 {
        font-size: 1.5rem; /* Adjust font size */
    }

    .leadershipcontainer .text-section p {
        font-size: 1.2rem; /* Adjust font size */
    }
}

@media (max-width: 480px) {
    .leadership {
        padding: 1.5rem; /* Reduce padding */
    }

    .leadershipcontainer {
        width: 100%; /* Full width on mobile */
        padding: 1.5rem; /* Reduce padding */
    }

    .leadershipcontainer .text-section h2 {
        font-size: 2rem; /* Adjust font size */
    }

    .leadershipcontainer .text-section h3 {
        font-size: 1.2rem; /* Adjust font size */
    }

    .leadershipcontainer .text-section p {
        font-size: 1rem; /* Adjust font size */
    }
}

/* unsed Contact Section
.contact .box{
    display: grid; 
    grid-template-columns: repeat(auto-fit,minmax(30%,1fr));
    gap: 2rem;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.contact .box i{
    font-size: 4.3rem;
    color: var(--sc-color);
    align-items: center;
    text-align: center;
    justify-content: center;
}
.contact .box div{
    font-size: 2.5rem;
    color: var(--th-color);
    margin: 1rem 0;
    text-transform: none;
    text-align: center;
    justify-content: center;
}
.contact .row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 8rem 0;
    text-align: center;
    justify-content: center;
}
.contact .row .form-c input,textarea{
    background: var(--min-color);
    border: 0.1rem solid rgb(160, 160, 160);
    padding: 1rem;
    height: 4.5rem; width: 100%;
    margin: 0.7rem 0;
    color: var(--th-color);
    font-size: 1.9rem;
}
.contact .row .form-c input[type="submit"]{
    background: var(--sc-color);
    cursor: pointer;
    margin-bottom: 2rem;
    color: var(--min-color);
    border: 0.1rem solid var(--sc-color);

}
.contact .row .form-c input[type="submit"]:hover{
    background: none;
    color: var(--sc-color);
}
.contact .row .form-c textarea{
    height: 15rem;
    padding: 1rem;
}*/

/* UNSED ABOUT
.about .box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.about .box .image img{
    width: 60rem;
    height: 100%;
    object-fit: cover;
}
.about .box .content h3{
    color: var(--th-color);
    font-size: 3.5rem;
    
}
.about .box .content p{
    color: #000000;
    font-size: 2rem;
    justify-content: space-between;
    text-align: center  ;

}
.about .box .content div{
    color: var(--th-color);
    font-size: 2.2rem;
    
}
.gap{
    border-bottom: 0.2rem solid var(--gp-colour);
    width: 100%;
}*/

/* media query  */

@media(max-width:850px){

    header .fa-bars{
        display: block;
    }
    header .navbar{
        position: fixed;
        /* */ top: 1000rem; left: 0; 
        text-align: center;
        background: rgb(0, 0, 0);
        width: 100%;
    }
    header .navbar.active{
        top: 7.5rem;
        z-index: 1000;
    }
    header .navbar a{
        display: block;
        margin: 0.3rem 0;
        padding: 1rem;
        font-size: 2.6rem;
        color: var(--min-color);
    }
    header .navbar a:hover{
        background: var(--min-color);
    }
    .about .box{
        flex-wrap: wrap;
        text-align: center;
    }
    .about .box .image img{
        width: 90%;
    }
    .services .row{
    
        grid-template-columns: repeat(auto-fit,minmax(80%,1fr));
    }
    .blog .row{
        grid-template-columns: repeat(auto-fit,minmax(80%,1fr));
    }
    .contact .row{
        flex-flow: column;
    }
    .contact .row iframe{
        width: 100%;
    }
    .footer{

        grid-template-columns: repeat(auto-fit,minmax(40%,1fr));
    }

    .cards { grid-template-columns: repeat(3, 1fr);  
}
@media(max-width:550px){
    .portfolio .row{
        
        grid-template-columns: repeat(auto-fit,minmax(40%,1fr));
    }
    .cards { grid-template-columns: repeat(2, 1fr); }
}